{% extends "main/base.html" %}

{% block title %}错误{{ code }}{% endblock %}

{% block content %}
<div class="card text-bg-danger mt-3 mb-3">
<h4 class="card-header">
  错误{{ code }}
</h4>
<div class="card-body">
  <p class="card-text">{{ message }}</p>
  <a class="card-link text-decoration-none link-light" href="{% url 'main:index' %}">返回主页</a>
</div>
</div>
{% endblock %}